body {
    background-color: #f5f5f5;
}

.server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.server-item .server-info {
    flex-grow: 1;
}

.server-item .server-status {
    margin-left: 10px;
}

.status-badge {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-running {
    background-color: #28a745;
}

.status-stopped {
    background-color: #dc3545;
}

.connection-list {
    max-height: 300px;
    overflow-y: auto;
}

.message-container {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
}

.message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 4px;
}

.message-inbound {
    background-color: #e9ecef;
    border-left: 3px solid #6c757d;
}

.message-outbound {
    background-color: #d1ecf1;
    border-left: 3px solid #17a2b8;
}

.message-header {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.message-content {
    word-break: break-all;
    font-family: monospace;
}

.server-actions {
    margin-top: 10px;
}

.tab-pane {
    padding: 15px 0;
}

.nav-tabs .nav-link {
    position: relative;
}

.nav-tabs .nav-link .close-tab {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    display: none;
}

.nav-tabs .nav-link:hover .close-tab {
    display: block;
}